package com.kandinfo.isbnmanage.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.kandinfo.base.common.service.AbstractService;
import com.kandinfo.isbnmanage.domian.IsbnOrder;
import com.kandinfo.isbnmanage.repository.IsbnOrderRepository;
import com.kandinfo.isbnmanage.service.IsbnOrderService;



@Service
public class IsbnOrderServiceImpl extends AbstractService<IsbnOrder, Long, IsbnOrderRepository> implements IsbnOrderService {
    
	@Override
	public List<IsbnOrder> get(String barcode){
		return repository.get(barcode);
	}

	@Override
	public IsbnOrder get(String barcode, Long isbnInformationId) {
		return repository.get(barcode, isbnInformationId);
	}
	
	@Resource
    public void setIsbnOrderRepository(IsbnOrderRepository isbnOrderRepository){
        super.setRepository(isbnOrderRepository);
    }
}
